import Components from 'unplugin-vue-components/vite'
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'

export default function createUseComponents() {
  return Components({
    resolvers: [NaiveUiResolver()],
    dts: 'src/auto-use-components.d.ts',
  })
}
